let myItRt = {
  lsp: 'ljh',
  *[Symbol.iterator]() {
    yield 1;
    yield 2;
    yield 3;
  }
};

for (const i in myItRt) {
  console.log(i)
}

console.log('-----')


for (const v of myItRt) {
  console.log(v)
}

console.log([...myItRt])
